package com.itheima.pojo;

import java.io.Serializable;

public class Sport implements Serializable {
    private Integer id;
    private String code;
    private String name;
    private String time;
    private String frequency;
    private String kj;
    private String o2;

    public Sport() {
    }

    public Sport(Integer id, String code, String name, String time, String frequency, String kj, String o2) {
        this.id = id;
        this.code = code;
        this.name = name;
        this.time = time;
        this.frequency = frequency;
        this.kj = kj;
        this.o2 = o2;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getFrequency() {
        return frequency;
    }

    public void setFrequency(String frequency) {
        this.frequency = frequency;
    }

    public String getKj() {
        return kj;
    }

    public void setKj(String kj) {
        this.kj = kj;
    }

    public String getO2() {
        return o2;
    }

    public void setO2(String o2) {
        this.o2 = o2;
    }

    @Override
    public String toString() {
        return "Sport{" +
                "id=" + id +
                ", code='" + code + '\'' +
                ", name='" + name + '\'' +
                ", time='" + time + '\'' +
                ", frequency='" + frequency + '\'' +
                ", kj='" + kj + '\'' +
                ", o2='" + o2 + '\'' +
                '}';
    }
}
